<?php

/**
 *
 */

class CheckIntraPages extends OWOX_Functions_IntraTestHelper
{

    /**
     * @test
     * @group intra
     * @group base_tests_intra
     * @dataProvider provider
     * @param $url
     * @return void
     */



    public function checkPages($url)
    {
        $this -> info( 'Проверка меню на ' . $url);
        $this -> loginIntra($this -> user, $this -> password);
        $this -> openPage($url);
        $this ->_findElement($this -> button_exit);
    }


    /**
     * @return array
     */

    public function provider()
    {
        return $this -> ForDataProvider('intra_pages.txt');
    }



}